package ai.vgen.server.domain.record;

import lombok.Data;

/**
 * 记录唯一标识
 */
@Data
public class RecordId {
  
  /**
   * 记录ID 
   */
  private String recordId;

  /**
   * 用户ID
   */
  private String userId;



  /**
   * 生成唯一标识
   * @param userId
   * @return
   */
  public static RecordId of(String userId) {
    RecordId recordId = new RecordId();
    recordId.setUserId(userId);
    // @todo 生成recordId，例如：
    // recordId.setRecordId(UUID.randomUUID().toString());
    return recordId;
  }

}
